#include<stdio.h>

extern void productoMatrizVector(unsigned short* A, unsigned short* v, unsigned short n, unsigned short m, unsigned int* w);

int main(int argc, char* argv[]){
	unsigned short n = 4;
	unsigned short m = 4;
	unsigned short A[4][4] = {{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16}};
	unsigned short v[4] = {1,2,3,4};
	unsigned int w[4];
	
	productoMatrizVector(&A[0][0], v, n, m, w);
	
	printf("El resultado de productoMatrizVector es: ");
	int j;
	for(j=0;j<m;j++){
		printf("%u ", w[j]);
	}
	printf("\n");
	
	return 0;
}
